#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main() {
    double p = 3.1415926;
    double r;
    scanf("%lf", &r);
    double v = (4 * p * r * r * r) / 3;
    printf("%.3lf", v);
    return 0;
}